﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp9
{
    class Duck : Animal, Iswmin
    {
        public Duck(string name) : base(name)
        {

        }
        public void swmin()
        {
            Console.WriteLine("鸭子飘在水面上");
        }
    }
}
